//
//  CarFriendCell.h
//  LoveCar
//
//  Created by dlios on 15/5/22.
//  Copyright (c) 2015年 薛森鸿. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <SDWebImage/UIImageView+WebCache.h>

@protocol ToCarFriendDelegate <NSObject>

- (void)toCarFriend:(NSArray *)array index:(NSInteger)page;

@end


@interface CarFriendCell : UITableViewCell<UICollectionViewDataSource, UICollectionViewDelegate, UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, assign)id <ToCarFriendDelegate>delegate;


@property (nonatomic, retain) IBOutlet UILabel *alabel;
@property (nonatomic, retain) IBOutlet UILabel *blabel;
@property (nonatomic, retain) IBOutlet UILabel *clabel;
@property (nonatomic, retain) IBOutlet UIImageView *headImage;
@property (nonatomic, retain) UILabel *dlabel;
@property (nonatomic, retain) UIImageView *imgView;
@property (nonatomic, retain) UICollectionView *collect;
@property (nonatomic, retain) UIView *comment;
@property (nonatomic, retain) UILabel *area;
@property (nonatomic, retain) UIImageView *agreeImg;
@property (nonatomic, retain) UILabel *agreeCount;
@property (nonatomic, retain) UIImageView *commentImg;
@property (nonatomic, retain) UILabel *commentCount;
@property (nonatomic, retain) UIView *line;
@property (nonatomic, retain) UICollectionView *headCollect;
@property (nonatomic, retain) UILabel *agreePerson;
@property (nonatomic, retain) UITableView *commentTable;

@property (retain, nonatomic) NSArray *array;
@property (retain, nonatomic) NSMutableArray *headArray;
@property (retain, nonatomic) NSMutableArray *commentArray;

@property (nonatomic, assign) NSInteger cellHeight;

- (void)sampleCellWithDic:(NSDictionary *)dic;

@end
